﻿@using eLoan.Models;
@model LocalPasswordModel

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <table class="table table-bordered table-striped">
            <tr>
                <th>
                    @Html.LabelFor(m => m.OldPassword)
                </th>
                <td>
                    @Html.PasswordFor(m => m.OldPassword, new { @class = "single-line" })
                </td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(m => m.NewPassword)
                </th>
                <td>
                    @Html.PasswordFor(m => m.NewPassword, new { @class = "single-line" })
                </td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(m => m.ConfirmPassword)
                </th>
                <td>
                    @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "single-line" })
                </td>
            </tr>
        </table>

        <input type="submit" class="btn btn-primary"   value="Change password" />

    </fieldset>
}
